home *** CD-ROM | disk | FTP | other *** search
/ InterCD 2000 September / september_2000.iso / intercd / root / ^Linux / cfengine-1.5.3 / inputs / cf.freebsd.example < prev    next >
Encoding:
Text File  |  1998-11-18  |  1.8 KB  |  83 lines

  1. #################################################################
  2. #
  3. # cf.bsd - for iu.hioslo.no
  4. #
  5. # This file contains bsd specific patches
  6. #
  7. #################################################################
  8.  
  9. ###
  10. #
  11. # BEGIN cf.bsd
  12. #
  13. ###
  14.  
  15. links:
  16.  
  17.     /usr/spool        ->  /var/spool
  18.     /local/bin/tcsh   ->  /bin/tcsh
  19.     /local/bin/perl   ->  /usr/bin/perl
  20.     /usr/lib/sendmail ->  /usr/sbin/sendmail
  21.  
  22. #################################################################
  23.  
  24. files:
  25.  
  26.    /usr/tmp mode=1777 owner=root action=fixall
  27.  
  28. #################################################################
  29.  
  30. editfiles:
  31.  
  32.    { /etc/inetd.conf
  33.  
  34.    AppendIfNoSuchLine "finger  stream  tcp     nowait  daemon  /local/etc/in.fingerd in.fingerd"
  35.    AppendIfNoSuchLine "cfinger stream  tcp     nowait  daemon  /local/etc/in.cfingerd in.cfingerd"
  36.    }
  37.  
  38.    #
  39.    # Comment out all lines to shut up this annoying cfengine-like
  40.    # script, which sends mail every day!!!
  41.    #
  42.  
  43.    { /etc/crontab
  44.  
  45.    HashCommentLinesContaining "daily"
  46.    HashCommentLinesContaining "weekly"
  47.    HashCommentLinesContaining "monthly"
  48.    }
  49.  
  50. #################################################################
  51.  
  52. directories:
  53.  
  54.    #
  55.    # Make printer spool directories...
  56.    #
  57.  
  58.    /var/spool/VirtualLight  o=root g=other mode=755
  59.  
  60. #########################################################################
  61.  
  62. copy:
  63.  
  64.       $(masterfiles)/etc/printcap.client      dest=/etc/printcap mode=0644
  65.  
  66. #########################################################################
  67.  
  68. shellcommands:
  69.  
  70.      "/local/iu/bin/BSD-pw-update"
  71.  
  72.   !Hourly::
  73.  
  74.     "/usr/libexec/locate.updatedb"
  75.     "/usr/bin/makewhatis /usr/share/man:/usr/X11R6/man:/usr/local/man:/local/gnu/man"
  76.  
  77. ###
  78. #
  79. # END cf.bsd
  80. #
  81. ###
  82.  
  83.